package de.gameduell.framework.game.billard.event {
	import flash.events.Event;
	import org.cove.ape.Vector;
	
	/**
	 * <EVENT> [direction-x] [direction-y] [effet-x] [effet-y] [angle-headshot] [hit-energy]
	 * @author Ferry Trunschke
	 */
	public class QueueEvent extends Event {
		
		private var _direction:Vector;
		private var _effet:Vector;
		private var _angle:Number;
		private var _strength:Number;

		public function QueueEvent(type : String, bubbles : Boolean = false, cancelable : Boolean = false) {
			super(type, bubbles, cancelable);
		}
		
		// #######
		// SETTERS
		// #######
		
		public function set direction(direction:Vector):void {
			_direction = direction;
		}

		public function set effet(effet:Vector):void {
			_effet = effet;
		}

		public function set angle(angle:Number):void {
			_angle = angle;
		}

		public function set strength(strength:Number):void {
			_strength = strength;
		}
		
		// #######
		// GETTERS
		// #######

		public function get direction():Vector {
			return _direction;
		}

		public function get effet():Vector {
			return _effet;
		}

		public function get angle():Number {
			return _angle;
		}

		public function get strength():Number {
			return _strength;
		}
		
	}
}
